package com.yl.pattern.structuralmodel.facade;

/**
 * @Author 小羊
 * @Date 30/10/2024下午 9:55
 * @ClassName Client
 * @Description Client
 */
public class Client {
    public static void main(String[] args) {
        //创建外观对象
        SmartAppliancesFacade facade = new SmartAppliancesFacade();
        //客户端直接与外观对象进行交互
        facade.say("打开家电");
        facade.say("关闭家电");
    }
}
